Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Docker RUN command in streamlit Dockerfile #23

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

frvdh
Copy link

@frvdh frvdh commented Dec 10, 2023

Upon running 'docker compose up --build' there was an error the first time concerning opencv: 'ImportError: libGL.so.1: cannot open shared object file: No such file or directory '.

The solution to this bug in my case was to add 'RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y' between the lines 'WORKDIR /code' and 'COPY requirements.txt /code' in the Dockerfile of the Streamlit folder.

@phamquiluan phamquiluan merged commit 38a36dd into phamquiluan:main Dec 11, 2023
1 check passed
@phamquiluan
Copy link
Owner

phamquiluan commented Dec 11, 2023

Thank you for the work, @frvdh @darkAndromeda9 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants